'''
@Owner dYrolign and DERFDY 2025.
@Author dYrolign.
@Contibutor iKeinsan, Werstog, Leoitsenn.
@DateCreated 2025/9/23.
'''

e_consumption = float(input("Input your electricity consumption(kWh) of the previous month: "))

def operation(n):
    if n < 50: return 0.53*n
    return 0.53*50+0.58*n
    
print(f"The electrcity bill you have to pay is {operation(e_consumption):.2f} Yuan")